package soar.template.springboot.service.hello.appconfig;

import javax.annotation.Resource;

import org.springframework.context.annotation.Configuration;

import soar.template.springboot.service.hello.appconfig.alipay.Alipay;
import soar.template.springboot.service.hello.appconfig.mysql.MySQL;
import soar.template.springboot.service.hello.appconfig.rabbitmq.RabbitMQ;
import soar.template.springboot.service.hello.appconfig.redis.Redis;
import soar.template.springboot.service.hello.appconfig.rmi.Rmi;

@Configuration("appconfig")
public class AppConfig
{
    @Resource(name = "appconfig.rmi")
    public Rmi rmi;

    @Resource(name = "appconfig.mysql")
    public MySQL mysql;

    @Resource(name = "appconfig.redis")
    public Redis redis;

    @Resource(name = "appconfig.rabbitmq")
    public RabbitMQ rabbitmq;

    @Resource(name = "appconfig.alipay")
    public Alipay alipay;

    public Rmi getRmi()
    {
        return rmi;
    }

    public void setRmi(Rmi rmi)
    {
        this.rmi = rmi;
    }

    public MySQL getMysql()
    {
        return mysql;
    }

    public void setMysql(MySQL mysql)
    {
        this.mysql = mysql;
    }

    public Redis getRedis()
    {
        return redis;
    }

    public void setRedis(Redis redis)
    {
        this.redis = redis;
    }

    public RabbitMQ getRabbitmq()
    {
        return rabbitmq;
    }

    public void setRabbitmq(RabbitMQ rabbitmq)
    {
        this.rabbitmq = rabbitmq;
    }

    public Alipay getAlipay()
    {
        return alipay;
    }

    public void setAlipay(Alipay alipay)
    {
        this.alipay = alipay;
    }

}
